<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<!-- saved from url=(0051)http://www.dreamfabric.com/sms/type_of_address.html -->
<HTML><HEAD><TITLE>The Type-of-Address octet</TITLE>
<META http-equiv=Content-Type content="text/html; charset=windows-1252">
<META content="MSHTML 5.50.4807.2300" name=GENERATOR></HEAD>
<BODY>
<H1>The Type-of-Address octet</H1>The Type-of-Address octet indicates the format 
of a phone number. The most common value of this octet is 91 hex (10010001 bin), 
which indicates international format. A phone number in international format 
looks like 46708251358 (where the country code is 46). In the national (or 
unknown) format the same phone number would look like 0708251358. The 
international format is the most generic, and it has to be accepted also when 
the message is destined to a recipient in the same country as the MSC or as the 
SGSN. <BR><BR>
<TABLE border=1>
  <TBODY>
  <TR bgColor=#ffffcc>
    <TH>Bit no</TH>
    <TD>7</TD>
    <TD>6</TD>
    <TD>5</TD>
    <TD>4</TD>
    <TD>3</TD>
    <TD>2</TD>
    <TD>1</TD>
    <TD>0</TD></TR>
  <TR>
    <TH>Name</TH>
    <TD>Always set to 1</TD>
    <TD colSpan=3>Type-of-number</TD>
    <TD colSpan=4>Numbering Plan Identification</TD></TR></TBODY></TABLE><BR>Note 
that bit no 7 should always be set to 1<BR>Bits 6, 5 and 4 deonte the 
Type-of-number<BR>Bits 3, 2, 1, 0 denote the Numbering-Plan-Identification 
<BR><BR>
<H3>Type of number</H3>
<TABLE border=1>
  <TBODY>
  <TR align=left bgColor=#ffffcc>
    <TH width=40>Bits<BR>6 5 4</TH>
    <TH>Meaning of the Type-of-number bits (6, 5 and 4)</TH></TR>
  <TR>
    <TD>0 0 0</TD>
    <TD>Unknown. This is used when the user or network has no a priori 
      information about the numbering plan. In this case, the Address-Value 
      field is organized according to the network dialling plan, e.g. prefix or 
      escape digits might be present.</TD></TR>
  <TR>
    <TD>0 0 1</TD>
    <TD>International number. </TD></TR>
  <TR>
    <TD>0 1 0</TD>
    <TD>National number. Prefix or escape digits shall not be included.</TD></TR>
  <TR>
    <TD>0 1 1</TD>
    <TD>Network specific number. This is used to indicate 
      administration/service number specific to the serving network, e.g. used 
      to access an operator.</TD></TR>
  <TR>
    <TD>1 0 0</TD>
    <TD>Subscriber number. This is used when a specific short number 
      representation is stored in one or more SCs as part of a higher layer 
      application. (Note that "Subscriber number" shall only be used in 
      connection with the proper PID referring to this application). </TD></TR>
  <TR>
    <TD>1 0 1</TD>
    <TD>Alphanumeric, (coded according to GSM TS 03.38 7-bit default alphabet) 
    </TD></TR>
  <TR>
    <TD>1 1 0</TD>
    <TD>Abbreviated number </TD></TR>
  <TR>
    <TD>1 1 1</TD>
    <TD>Reserved for extension </TD></TR></TBODY></TABLE><BR><BR>
<H3>Numbering Plan Identification</H3>The Numbering-plan-identification applies 
for Type-of-number = 000, 001 and 010. For Type-of-number = 101 bits 3,2,1,0 are 
reserved and shall be transmitted as 0000. Note that for addressing any of the 
entities SC, MSC, SGSN or MS, Numbering-plan-identification = 0001 will always 
be used. However, for addressing the SME, any specified 
Numbering-plan-identification value may be used. <BR><BR>
<TABLE border=1>
  <TBODY>
  <TR align=left bgColor=#ffffcc>
    <TH width=50>Bits<BR>3 2 1 0</TH>
    <TH>Meaning of the Numbering Plan Identifiation bits (3, 2, 1 and 0)</TH></TR>
  <TR>
    <TD>0 0 0 0</TD>
    <TD>Unknown.</TD></TR>
  <TR>
    <TD>0 0 0 1</TD>
    <TD>ISDN/telephone numbering plan (E.164/E.163).</TD></TR>
  <TR>
    <TD>0 0 1 1</TD>
    <TD>Data numbering plan (X.121).</TD></TR>
  <TR>
    <TD>0 1 0 0</TD>
    <TD>Telex numbering plan </TD></TR>
  <TR>
    <TD>1 0 0 0</TD>
    <TD>National numbering plan </TD></TR>
  <TR>
    <TD>1 0 0 1</TD>
    <TD>Private numbering plan</TD></TR>
  <TR>
    <TD>1 0 1 0</TD>
    <TD>ERMES numbering plan (ETSI DE/PS 3 01-3) </TD></TR>
  <TR>
    <TD>1 1 1 1</TD>
    <TD>Reserved for extension </TD></TR></TBODY></TABLE>All other values are 
reserved. 
<H3>Example</H3>A Type-of-Address octet of "81" (hex), unknown phone number 
format, looks like: <BR><BR>
<TABLE border=1>
  <TBODY>
  <TR bgColor=#ffffcc>
    <TH>Bit no</TH>
    <TD>7</TD>
    <TD>6</TD>
    <TD>5</TD>
    <TD>4</TD>
    <TD>3</TD>
    <TD>2</TD>
    <TD>1</TD>
    <TD>0</TD></TR>
  <TR>
    <TH>Name</TH>
    <TD>Always set to 1</TD>
    <TD colSpan=3>Type of number</TD>
    <TD colSpan=4>Numbering plan identification</TD></TR>
  <TR>
    <TH>Value</TH>
    <TD>1</TD>
    <TD>0</TD>
    <TD>0</TD>
    <TD>0</TD>
    <TD>0</TD>
    <TD>0</TD>
    <TD>0</TD>
    <TD>1</TD></TR></TBODY></TABLE></BODY></HTML>
